home *** CD-ROM | disk | FTP | other *** search
- var screen_height = screen.height;
-
- var screen_width = screen.width;
-
-
-
- if (screen_height >= 768) {
-
- background_img = "images/horizon768.jpg";
-
- sun_img = "images/sun768.jpg";
-
- flare_img = "images/flare768.jpg";
-
- screen_width = 1024;
-
- screen_height = 768;
-
- } else if (screen_height >= 624) {
-
- background_img = "images/horizon624.jpg";
-
- sun_img = "images/sun624.jpg";
-
- flare_img = "images/flare624.jpg";
-
- } else if (screen_height >= 600) {
-
- background_img = "images/horizon600.jpg";
-
- sun_img = "images/sun600.jpg";
-
- flare_img = "images/flare600.jpg";
-
- } else if (screen_height >= 480) {
-
- background_img = "images/horizon480.jpg";
-
- sun_img = "images/sun480.jpg";
-
- flare_img = "images/flare480.jpg";
-
- } else {
-
- background_img = "images/horizon600.jpg";
-
- sun_img = "images/sun600.jpg";
-
- flare_img = "images/flare600.jpg";
-
- screen_width = 640;
-
- screen_height = 480;
-
- }
-
-